package io.github.talelin.latticy.dto.ag.room;
import lombok.Data;
import javax.validation.constraints.*;

@Data
public class CreateOrUpdateRoomDTO {

    private int id;
    private int building_id;
    @NotEmpty(message = "必须传入房间名字")
    private String name;
    private String floor;
    @Size(max = 20,message = "管理员名字长度最大为20")
    private String manager;
    private String phone;

}
